<?php
function protectScript($sScriptName){
	if(stristr(strtolower($_SERVER['SCRIPT_NAME']), strtolower($sScriptName))){
		header('Location: '.WEBAPP_DIR.'/index.php');
		die();
	}
}